package com.miyu.system.pojo.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 接口访问日志;
 * @author : miyu
 * @date : 2022-9-30
 */
@ApiModel(value = "接口访问日志",description = "")
@Data
@Entity
@Table(name="sys_api_log")
public class SysApiLog implements Serializable,Cloneable{
    /** 主键 */
    @Id
    @ApiModelProperty(name = "主键",notes = "")
    @Column(name = "log_id", nullable = false, length =32 )
    private String logId ;
    /** 操作人 */
    @ApiModelProperty(name = "操作人",notes = "")
    @Column(name = "oper_user", nullable = true, length =90 )
    private String operUser ;
    /** 操作接口 */
    @ApiModelProperty(name = "操作接口",notes = "")
    @Column(name = "oper_api", nullable = true, length =255 )
    private String operApi ;
    /** 操作Ip */
    @ApiModelProperty(name = "操作Ip",notes = "")
    @Column(name = "oper_ip", nullable = true, length =90 )
    private String operIp ;
    /** 操作日期 */
    @ApiModelProperty(name = "操作日期",notes = "")
    @Column(name = "oper_date", nullable = true )
    private Date operDate ;
    /** 操作模块 */
    @ApiModelProperty(name = "操作模块",notes = "")
    @Column(name = "oper_mod", nullable = true, length =90 )
    private String operMod ;
    /** 操作连接 */
    @ApiModelProperty(name = "操作连接",notes = "")
    @Column(name = "oper_addres", nullable = true, length =255 )
    private String operAddres ;
    /** 请求方式 */
    @ApiModelProperty(name = "请求方式",notes = "")
    @Column(name = "oper_type", nullable = true, length =20 )
    private String operType ;
    /** 请求参数 */
    @ApiModelProperty(name = "请求参数",notes = "")
    @Column(name = "oper_param", nullable = true, length =900 )
    private String operParam ;
    /** 返回参数 */
    @ApiModelProperty(name = "返回参数",notes = "")
    @Column(name = "oper_reslut", nullable = true, length =900 )
    private String operReslut ;
    /** 操作状态 */
    @ApiModelProperty(name = "操作状态",notes = "")
    @Column(name = "oper_stuts", nullable = true, length =90 )
    private String operStuts ;
}